//
//  iAnimatorAppDelegate.m
//  iAnimator
//
//  Created by 국현 경 on 09. 06. 01.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import "iAnimatorAppDelegate.h"

@implementation iAnimatorAppDelegate

@synthesize window;

- (void)applicationDidFinishLaunching:(UIApplication *)application {
	window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
	[window setUserInteractionEnabled:YES];
	[window setMultipleTouchEnabled:YES];
	
	[[Director sharedDirector] setLandscape: YES];
	[[Director sharedDirector] attachInWindow:window];
	
	[window makeKeyAndVisible];
	
	MenuScene * ms = [MenuScene node];
	
	[[Director sharedDirector] runWithScene:ms];
}

- (void)dealloc {
	[window release];
	[super dealloc];
}


@end
